From e8f20b77af5e9333a4bae27d6f6ed4ea5ae9dd16 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 23 Jul 2002 19:08:14 +0000 Subject: [PATCH] (Fmessage): Treat "" like nil. --- src/editfns.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/editfns.c b/src/editfns.c index 2244668649e..e8b12d76a3c 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2918,7 +2918,9 @@ usage: (message STRING &rest ARGS) */) int nargs; Lisp_Object *args; { - if (NILP (args[0])) + if (NILP (args[0]) + || (STRINGP (args[0]) + && SBYTES (args[0]) == 0)) { message (0); return Qnil; -- 2.30.2